#pragma once
#include "SDevice.h"
#include "STime.h"
#include "SCamera.h"
#include "SInput.h"
#include "SDebug.h"
#include "SFont.h"
#include "SFrustum.h"


class SCore : public SDevice
{
public:
	STime			m_Time;
	SDebug			m_Debug;
	SCamera			m_Camera;
	SInput			m_Input;
	SFont			m_Font;
	SFrustum		m_Frustum;
	bool			m_BuseDebugCamera;
	

public :
	bool			CoreInit();
	bool			CoreFrame();
	int				Run();
	bool			CoreRender();
	bool			CoreRun();	
	bool			PostCoreRender();

public :
	virtual bool	DebugRender();
	virtual bool	PreCoreRender();
	virtual bool	Init();
	virtual bool	Frame();
	virtual bool	Render();
	virtual bool	Release();

public :
//	SInput*			GetInput();

public :
	SCore(void);
	~SCore(void);
};
